<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <h1>欢迎${user.name}登入本系统！！！</h1>
    <shiro:hasRole name="user">
        <a href="/emp/emp_list.html">员工管理</a>
    </shiro:hasRole>

    <shiro:hasRole name="admin">
        <a href="/admin.jsp">系统管理</a>
    </shiro:hasRole>
    <a href="logout">退出</a>
</body>
</html>
